<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><%= title %></title>
    <link rel="stylesheet" href="bower_components\bootstrap\dist\css\bootstrap.min.css">
    <link rel="stylesheet" href="css\login.css">
    <script src="bower_components\angular\angular.min.js"></script>
    <script src="bower_components\angular-route\angular-route.min.js"></script>
    <script src="js\detail.js"></script>
    <script src="js\detail.controller.js"></script>
    <script src="js\route.js"></script>
    <script src="js\application.js"></script>
</head>
<body ng-app="app">
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" ng-controller="navCtrl">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#/">Warehouse</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse" style="float: right">
            <ul class="nav navbar-nav">
                <li><a href="#/login" ng-show="current_user==''">登录</a></li>
                <li><a href="#/signup" ng-show="current_user==''">注册</a></li>
                <li><a href="#/ristory" ng-hide="current_user==''">仓库管理</a></li>
                <li><a href="#/product" ng-hide="current_user==''">产品管理</a></li>
                <li><a href="" ng-click="logOut()" ng-hide="current_user==''">退出</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="container col-md-8 col-md-offset-2">
    <div ng-view></div>
</div>
</body>
</html>